﻿using System;
using System.Collections.Generic;

namespace Interfaces.BusinessLogic
{
    public interface ICrudOperationSupport<TModel>
    {
        IEnumerable<TModel> GetAll();
        TModel GetById(Guid id);
        void Create(TModel model);
        void Update(TModel model);
        void Remove(Guid id);
        void Remove(TModel model);
    }
}
